HScrollBar, VScrollBar Controls (Lightweight)

               

The windowless HScrollBar, and VScrollBar controls are lightweight versions of the Visual Basic intrinsic HScrollBar and VScrollBar controls.

Syntax

WLHScroll

WLVScroll

Remarks

The distinguishing characteristic of a lightweight control is its lack of an hWnd property. If your application does not use APIs that require the hWnd, the lightweight version of this control will conserve computer resources and allow you to create applications that load faster.

Lightweight controls do not support Dynamic Data Exchange (DDE). In all other respects, the lightweight control retains the same behavior as the standard version.

Distribution Note   This control is part of a group of ActiveX controls that are found in the MSWLess.ocx. To use the this control in your application, you must add the MSWLess.ocx file to the project. When distributing your application, install the MSWLess.ocx file in the user's Microsoft Windows System or System32 directory. For more information on how to add an ActiveX control to a Visual Basic project, see "Standard ActiveX Controls."

Note   This control is Unicode-enabled. When used on a Unicode-enabled system such as Microsoft Windows NT, the control passes Unicode data with no conversion. On other systems, however, data is converted from ANSI to Unicode and back. For more information, see "ANSI, DBCS, and Unicode: Definitions" in the Programmer's Guide.